import request from "src/utils/request";
import type {QueryPageParams} from 'src/types/requestParam'
import type {Comment} from 'src/models/comment'

// 获取评论列表
export const getCategoryNames=()=> {
    return request.fetchList(`/category/names`);
}

// 获取评论列表
export const getCategoryCollect=()=> {
    return request.fetchList(`/category/public/collect`);
}


export default{
    getCategoryNames,getCategoryCollect
}